elementwise functions: Elementwise functions/operators
Description
This is the documentation for the functions abs
, exp
, expm1
, log
, log2
, log10
, log1p
,
sin
, cos
, tan
, asin
, acos
, atan
,
sinh
, cosh
, tanh
, asinh
, acosh
, atanh
,
abs
, lgamma
, gamma
, sign
, round
, ceiling
,
is.na
, is.nan
, is.finite
, is.infinite
and !
.
These functions are elementwise functions/operators which are defined much the same as the functions the R base package. When operation on
object of class gmatrix or gvector the work will be performed by the GPU and will return a GPU object of the same dimension as the input.
Methods
signature(x = "gmatrix")
- Returns an object of type gmatrix with the same dimensions as the input.
signature(x = "gvector")
- Returns an object of type gvector with the same dimensions as the input.